<@override name="head">	
<title>新增角色</title>
<script type="text/javascript" src="${ctx}/assets/js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/assets/js/lib/bootbox.js"></script>
<script type="text/javascript" src="${ctx}/assets/js/common/validate.js"></script>
<script type="text/javascript" src="${ctx}/assets/js/back/role.js"></script>
</@override>	
<@override name="body">
<div id=content_bg>
<#include "/main/home/common.ftl"/>
	<div id= "pagecontent">
		<div id="content">
	   		<div id="navDiv">
				<ul id="navDiv_ul">
					<li><i class="icon-home"></i></li>
					<li><a href="${ctx}/back/main/dashboard">首页</a></li>
					<li><i class="icon-angle-right"></i></li>
					<li><a href="${ctx}/back/main/role/list">角色管理</a></li>
					<li><i class="icon-angle-right"></i></li>
					<li class="navDiv_currentLi">新增角色</li>
				</ul>  
	 		</div>
	 		<form id="validateForm" action="${ctx}/back/main/role/addRole" method="post">
	 			<input type="hidden" name="id" id="roleId" value=""/>
				<div class="input-group">
					<label class="input-label"><span class="lbl-yes">*</span>角色名：</label>
					<input class="input-text" tabindex="1" id="name" name="name" type="text" value="" verify="text/50/1/0"/><span class="spanVaildate"></span>
				</div>
				<div class="input-group">
					<label class="input-label"><span class="lbl-no"></span>roleKey：</label>
					<input class="input-text" tabindex="2" id="roleKey" name="roleKey" type="text" value="" verify="text/50/0/0"/><span class="spanVaildate"></span>
				</div>
				<div class="input-group">
					<label class="input-label"><span class="lbl-no"></span>描述：</label>
					<input class="input-text" tabindex="3" id="description" name="description" type="text" value="" verify="text/200/0/0"/><span class="spanVaildate"></span>
				</div>
				<div class="input-group">
					<label class="input-label"><span class="lbl-yes">*</span>角色状态：</label>
					<input class="input-radio" name="enable" type="radio" value="1" checked="checked"/><span class="input-radio-span">开启</span>
					<input class="input-radio" name="enable" type="radio" value="0"/><span class="input-radio-span">停用</span>
				</div>
				<div id="footBtn">
					<button class="btn-save" type="submit">保存</button>
					<button class="btn-cancel" id="btn-cancel-authority" type="button">取消</button>
				</div>
			</form>
		</div>
    </div>
</div>
</@override>
<@extends name="/common/simple.ftl"/>